<template>
  <div class="app-container">
    <el-row class="pagetop">      
    </el-row>
    <el-row class="pagecenter">      
    </el-row>
    <el-row class="pageborder">      
    </el-row>
  </div>
</template>

<style scoped>
.pagetop {
  margin-bottom: 20px;
}
</style>

<script>
import { getList, getReportDataByDate } from 'api/report';
import { parseTime } from 'utils/index.js';

export default {
  data() {
    return {      
    }
  },
  created() {
    this.fetchData();
  },
  methods: {    
    fetchData() {      
    },
    // 查询报表数据
    getReportData() {
      let requestParams = {
        createdata: parseTime(Date())                
      }
      getReportDataByDate(requestParams).then(response => {
        let res = response.data;
        if (res.flag === 1) {
          let resData = res.data;
          this.today = resData.today || this.today;
          this.yesterday = resData.yesterday || this.yesterday;
        }
      });
    },
  }
};
</script>